﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Designation.aspx.cs" Inherits="UniversityStudentManagemnetSystem.UI.DesignationPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<link href="../Styles/Site.css" rel="stylesheet" type="text/css" />


   <style type="text/css">
        .required
        {
            color: red;
        }
    </style>

</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="MainContent">
<div align="center">
    <fieldset style="width: 800px; height:600px;">
    <div align="center">
    <fieldset  style="width:400px; height:100px;  ">
    <legend style="color: green"> Designation Entry </legend>
    <table align="center">
    <tr>
    <td>
    <asp:Label ID="Label1" runat="server" Text="Designation Name"></asp:Label>
    </td>
    <td>
    <asp:TextBox ID="designationNameTextBox" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
        CssClass="required" ControlToValidate="designationNameTextBox" ValidationGroup="vgDesignation"></asp:RequiredFieldValidator>

    </td>
    </tr>
    <tr>
    <td>
    <asp:Label ID="designationSaveMessageLabel" runat="server"></asp:Label>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Button ID="designationSaveButton" runat="server" 
        onclick="designationSaveButton_Click"  ValidationGroup="vgDesignation" Text="Save" />
        </td>
        </tr>

    </table>
    </fieldset>
    </div>
    </fieldset>
    </div>
    <br />
    <br />
    <br />
</asp:Content>

